<template>
  <view>
    <uni-search-bar @confirm="search" @focus="tabToGoodsPage" 
    placeholder="搜索商品名称" :radius="100" cancelButton="none" ></uni-search-bar>
  </view>
</template>


<script setup lang="ts">
import { ref } from 'vue'
import router from "@/router";

// 商品查询
function search(){

}

// 进入商品列表页
function tabToGoodsPage(){
  // router.push("/searchGoodsPage")
  uni.navigateTo({
    url:'/pages/goodsInfo/searchGoodsPage',
  })
  // console.log("进入列表")
}


</script>

<style scoped></style>